\documentclass[twoside]{book}

% Packages required by doxygen
\usepackage{fixltx2e}
\usepackage{calc}
\usepackage{doxygen}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage{makeidx}
\usepackage{multicol}
\usepackage{multirow}
\PassOptionsToPackage{warn}{textcomp}
\usepackage{textcomp}
\usepackage[nointegrals]{wasysym}
\usepackage[table]{xcolor}

% Font selection
\usepackage[T1]{fontenc}
\usepackage{mathptmx}
\usepackage[scaled=.90]{helvet}
\usepackage{courier}
\usepackage{amssymb}
\usepackage{sectsty}
\renewcommand{\familydefault}{\sfdefault}
\allsectionsfont{%
  \fontseries{bc}\selectfont%
  \color{darkgray}%
}
\renewcommand{\DoxyLabelFont}{%
  \fontseries{bc}\selectfont%
  \color{darkgray}%
}
\newcommand{\+}{\discretionary{\mbox{\scriptsize$\hookleftarrow$}}{}{}}

% Page & text layout
\usepackage{geometry}
\geometry{%
  a4paper,%
  top=2.5cm,%
  bottom=2.5cm,%
  left=2.5cm,%
  right=2.5cm%
}
\tolerance=750
\hfuzz=15pt
\hbadness=750
\setlength{\emergencystretch}{15pt}
\setlength{\parindent}{0cm}
\setlength{\parskip}{0.2cm}
\makeatletter
\renewcommand{\paragraph}{%
  \@startsection{paragraph}{4}{0ex}{-1.0ex}{1.0ex}{%
    \normalfont\normalsize\bfseries\SS@parafont%
  }%
}
\renewcommand{\subparagraph}{%
  \@startsection{subparagraph}{5}{0ex}{-1.0ex}{1.0ex}{%
    \normalfont\normalsize\bfseries\SS@subparafont%
  }%
}
\makeatother

% Headers & footers
\usepackage{fancyhdr}
\pagestyle{fancyplain}
\fancyhead[LE]{\fancyplain{}{\bfseries\thepage}}
\fancyhead[CE]{\fancyplain{}{}}
\fancyhead[RE]{\fancyplain{}{\bfseries\leftmark}}
\fancyhead[LO]{\fancyplain{}{\bfseries\rightmark}}
\fancyhead[CO]{\fancyplain{}{}}
\fancyhead[RO]{\fancyplain{}{\bfseries\thepage}}
\fancyfoot[LE]{\fancyplain{}{}}
\fancyfoot[CE]{\fancyplain{}{}}
\fancyfoot[RE]{\fancyplain{}{\bfseries\scriptsize 生成于 2016年 七月 7日 星期四 19\+:49\+:40 , 为 embedme使用  Doxygen }}
\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize 生成于 2016年 七月 7日 星期四 19\+:49\+:40 , 为 embedme使用  Doxygen }}
\fancyfoot[CO]{\fancyplain{}{}}
\fancyfoot[RO]{\fancyplain{}{}}
\renewcommand{\footrulewidth}{0.4pt}
\renewcommand{\chaptermark}[1]{%
  \markboth{#1}{}%
}
\renewcommand{\sectionmark}[1]{%
  \markright{\thesection\ #1}%
}

% Indices & bibliography
\usepackage{natbib}
\usepackage[titles]{tocloft}
\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{5}
\makeindex

% Hyperlinks (required, but should be loaded last)
\usepackage{ifpdf}
\ifpdf
  \usepackage[pdftex,pagebackref=true]{hyperref}
\else
  \usepackage[ps2pdf,pagebackref=true]{hyperref}
\fi
\hypersetup{%
  colorlinks=true,%
  linkcolor=blue,%
  citecolor=blue,%
  unicode%
}

% Custom commands
\newcommand{\clearemptydoublepage}{%
  \newpage{\pagestyle{empty}\cleardoublepage}%
}


%===== C O N T E N T S =====

\begin{document}

% Titlepage & ToC
\hypersetup{pageanchor=false,
             bookmarks=true,
             bookmarksnumbered=true,
             pdfencoding=unicode
            }
\pagenumbering{roman}
\begin{titlepage}
\vspace*{7cm}
\begin{center}%
{\Large embedme }\\
\vspace*{1cm}
{\large 制作者 Doxygen 1.8.8}\\
\vspace*{0.5cm}
{\small 2016年 七月 7日 星期四 19:49:40}\\
\end{center}
\end{titlepage}
\clearemptydoublepage
\tableofcontents
\clearemptydoublepage
\pagenumbering{arabic}
\hypersetup{pageanchor=true}

%--- Begin generated contents ---
\chapter{继承关系索引}
\input{hierarchy}
\chapter{类索引}
\input{annotated}
\chapter{文件索引}
\input{files}
\chapter{类说明}
\input{class_array}
\input{class_atomic_queue}
\input{class_atomic_vector}
\input{struct_audio_device___s}
\input{class_auto_lock}
\input{class_cmd_executer}
\input{class_com_port}
\input{class_config}
\input{class_c_r_c_check}
\input{class_c_timer}
\input{class_c_timer_protocol}
\input{class_data_base}
\input{class_directory}
\input{class_double_array}
\input{class_event}
\input{class_event_handler}
\input{class_event_manager}
\input{class_file}
\input{struct_file_down_load___s}
\input{class_g_p_i_o}
\input{class_gpio_factory}
\input{struct_gpio_group___s}
\input{class_gpio_imp}
\input{struct_gpio_info___s}
\input{class_http_client}
\input{class_int_array}
\input{class_i_n_t_f}
\input{class_i_o_device}
\input{class_j_s_o_n_data}
\input{class_j_s_o_n_node}
\input{class_key_input}
\input{class_key_listener}
\input{class_k_v_property}
\input{class_k_v_value}
\input{class_logger}
\input{struct_m_d5___context___s}
\input{class_m_d5_check}
\input{class_mem_shared}
\input{class_msg_queue}
\input{class_msg_queue_factory}
\input{class_mutex_cond}
\input{class_mutex_lock}
\input{class_network}
\input{class_n_semaphore}
\input{class_one_shot_timer}
\input{class_oss_audio}
\input{class_periodic_timer}
\input{class_port_adapter}
\input{struct_queue_msg___s}
\input{class_rtc_facade}
\input{struct_rtc_time___s}
\input{class_runnable}
\input{class_runnable_protocol}
\input{class_semaphore}
\input{class_settings}
\input{class_socket}
\input{class_sqlite_wrapper}
\input{struct_sql_result___s}
\input{class_string_array}
\input{class_string_filter}
\input{struct_task_info___s}
\input{class_tcp_server}
\input{class_tcp_socket}
\input{class_thread}
\input{struct_thread_info___s}
\input{class_thread_pool}
\input{class_timer}
\input{class_timer_manager}
\input{class_tuple}
\input{class_tuple_item}
\input{class_udp_server}
\input{class_udp_socket}
\input{class_u_n_semaphore}
\input{class_utils}
\input{class_xml_data}
\input{class_xml_node}
\chapter{文件说明}
\input{_array_8h}
\input{_atomic_queue_8h}
\input{_atomic_vector_8h}
\input{_base_type_8h}
\input{_cmd_executer_8h}
\input{_com_port_8h}
\input{_config_8h}
\input{_c_r_c_check_8h}
\input{_data_base_8h}
\input{_debug_print_8h}
\input{_directory_8h}
\input{_event_8h}
\input{_file_8h}
\input{_gpio_8h}
\input{_http_client_8h}
\input{_i_o_device_8h}
\input{_j_s_o_n_data_8h}
\input{_key_input_8h}
\input{_k_v_property_8h}
\input{_logger_8h}
\input{_m_d5_check_8h}
\input{_mem_shared_8h}
\input{_msg_queue_8h}
\input{_mutex_8h}
\input{_network_8h}
\input{_oss_audio_8h}
\input{_port_adapter_8h}
\input{_rtc_facade_8h}
\input{_semaphore_8h}
\input{_socket_8h}
\input{_sqlite_wrapper_8h}
\input{_string_filter_8h}
\input{_thread_8h}
\input{_thread_pool_8h}
\input{_timer_8h}
\input{_trace_debug_8h}
\input{_tuple_8h}
\input{_utils_8h}
\input{_xml_data_8h}
%--- End generated contents ---

% Index
\newpage
\phantomsection
\addcontentsline{toc}{chapter}{索引}
\printindex

\end{document}
